package MyDaily.pojo;

/*对应日记表的实体类*/
import java.sql.Timestamp;

public class Daily {
	private int id;
	private String name;
	private String diary;
	private String type;
	private Timestamp date;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDiary() {
		return diary;
	}

	public void setDiary(String diary) {
		this.diary = diary;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	

	public Timestamp getDate() {
		return date;
	}

	public void setDate(Timestamp date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Daily [id=" + id + ", name=" + name + ", Diary=" + diary + ", type=" + type + ", date=" + date + "]";
	}

}
